package com.wallet.crypto.trustapp.createWallets;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.FrameLayout;

import com.wallet.crypto.trustapp.R;

/**
 * Created by ${张奎勋} on 2018/5/11.
 */

public class BeginHome extends FrameLayout implements View.OnClickListener {
    public BeginHome(@NonNull Context context) {
        super(context);
    }

    public BeginHome(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public BeginHome(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();

        View view = LayoutInflater.from(getContext()).inflate(R.layout.begin_home, this, false);
        addView(view);

        Button button = findViewById(R.id.button);
        button.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {

    }

}
